package com.baicaoyuan.web.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

/**
 * 功能描述：金种子利润输入信息
 *
 * @author 罗富祥
 * 创建时间： 2018/1/5
 */

@Data
@ApiModel(value = "com.baicaoyuan.web.request.JzzProfitInputResponse", description = "分润明细")
public class JzzProfitInputResponse {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "期号（每次后台导入自动生成期数 年月日时分秒）")
    private String periodNo;

    @ApiModelProperty(value = "金种子项目序列号（pos机序列号）")
    private String serialNumber;

    @ApiModelProperty(value = "总利润")
    private BigDecimal totalProfit;

    @ApiModelProperty(value = "推动平台金种子上涨的助长剂")
    private BigDecimal percentGrowProfit;

    @ApiModelProperty(value = "办理者参与挖矿的利润")
    private BigDecimal percentMyselfProfit;

    @ApiModelProperty(value = "直推着参与挖矿的利润")
    private BigDecimal percentDirectProfit;

    @ApiModelProperty(value = "间接退参与挖矿的利润")
    private BigDecimal percentIndirectProfit;

    @ApiModelProperty(value = "团长参与挖矿的利润（多个团长的话， 则平分）")
    private BigDecimal percentTeamLeaderProfit;

    @ApiModelProperty(value = "操作用户id")
    private Long operator;

    @ApiModelProperty(value = "状态：0：未分润  1：进入分润  3分润结束 9：撤销分润")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;

    @ApiModelProperty(value = "挖矿明细")
    private List<JzzProfitFlowResponse> flows;

}
